package com.ruoyi.ybUpload.mapper;

import java.util.List;
import com.ruoyi.ybUpload.domain.tableCode.BusinessRecords;

/**
 * 请求记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-08-22
 */
public interface BusinessRecordsMapper
{
    /**
     * 查询请求记录
     *
     * @param id 请求记录主键
     * @return 请求记录
     */
    public BusinessRecords selectBusinessRecordsById(Long id);

    /**
     * 查询请求记录列表
     *
     * @param businessRecords 请求记录
     * @return 请求记录集合
     */
    public List<BusinessRecords> selectBusinessRecordsList(BusinessRecords businessRecords);

    /**
     * 新增请求记录
     *
     * @param businessRecords 请求记录
     * @return 结果
     */
    public int insertBusinessRecords(BusinessRecords businessRecords);

    /**
     * 修改请求记录
     *
     * @param businessRecords 请求记录
     * @return 结果
     */
    public int updateBusinessRecords(BusinessRecords businessRecords);

    /**
     * 删除请求记录
     *
     * @param id 请求记录主键
     * @return 结果
     */
    public int deleteBusinessRecordsById(Long id);

    /**
     * 批量删除请求记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessRecordsByIds(Long[] ids);
}
